<?php
/**
 * [WeEngine System] Copyright (c) 2014 WE7.CC
 * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
 */
defined('IN_IA') or exit('Access Denied');

load()->model('cloud');

$dos = array('smsTrade');
$do = in_array($do, $dos) ? $do : '';

if (empty($do)) {
	iajax(-1, '非法请求！');
}
if ('smsTrade' == $do) {
	$sms_info = cloud_sms_info();
	if (is_error($sms_info)) {
		iajax(-1, $sms_info['message']);
	}

	iajax(0, ['sms_info' => $sms_info]);
}
